Skip to content

feat: draft - MySQL2 Semantic Stability#2096

Draft
hannahramadan wants to merge 4 commits intoopen-telemetry:mainfrom
hannahramadan:mysql2_semantic_stability
Draft

feat: draft - MySQL2 Semantic Stability#2096
hannahramadan wants to merge 4 commits intoopen-telemetry:mainfrom
hannahramadan:mysql2_semantic_stability

Conversation

@hannahramadan
Copy link
Copy Markdown
Member

@hannahramadan hannahramadan commented Mar 19, 2026

Database semantic convention stability migration spec.

New environment variable OTEL_SEMCONV_STABILITY_OPT_IN:

  • database to emit stable conventions only
  • database/dup to emit both old and the stable conventions
  • a blank env var will emit old conventions only

The agent is required to maintain this bridge for 6 months and may drop the environment variable in the next major version and emit only the stable database and networking conventions.

Changes:

  • db.system -> db.system.name
  • net.peer.name -> server.address
  • net.peer.port -> server.port (now an integer, only if present)
  • db.name -> db.namespace
  • db.statement -> db.query.text
  • db.operation → db.operation.name

Removed:

  • peer.service

Added:

  • error.type
  • server.port

@hannahramadan hannahramadan changed the title feat: MySQL2 Semantic Stability feat: draft - MySQL2 Semantic Stability Mar 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep label to hold stale off permanently, or do nothing. If you do nothing this pull request will be closed eventually by the stale bot

@github-actions github-actions Bot added the stale Marks an issue/PR stale label Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

instrumentation-mysql2 stale Marks an issue/PR stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant